package com.demo.api;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author Tan-Bowen
 * @description TODO
 * @date 2021/7/26 17:58
 * @paramType
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.demo.api","com.demo.core","com.demo.client"})
@MapperScan("com.demo.client.mapper")
@EnableScheduling
public class DemoApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApiApplication.class, args);
    }


}
